package com.hison.tandainbao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hison.tandainbao.entiy.pojo.domain.TbLocalculture;
import com.hison.tandainbao.entiy.pojo.domain.TbLocalevent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hison
* @description 针对表【tb_localevent】的数据库操作Mapper
* @createDate 2024-03-29 22:54:55
* @Entity com/hison/tandainbao.entiy/pojo/domain.TbLocalevent
*/
public interface TbLocaleventMapper extends BaseMapper<TbLocalevent> {


    List<TbLocalevent> getCultureInfoByUserName(@Param("userName") String userName);

    int updateInfo(@Param("eventId") Integer eventId,@Param("id") Long id);

    int checkLocalCuture(@Param("eventId") int eventId, @Param("status") String status);
}
